package com.kaili.basic.pojo.entity;

import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * Created by xxx on 2019-03-07.
 */
@Data
@TableName("wms_warehousing_product")
@ApiModel(description = "入库产品表（入库申请子表）")
public class WarehousingProduct {
    @ApiModelProperty(name = "id", value = "主键id")
    private Long id;

    @ApiModelProperty(name = "applyId", value = "入库申请表主键id")
    private Long applyId;

    @ApiModelProperty(name = "warehousingOrder", value = "顺序")
    private Integer warehousingOrder;

    @ApiModelProperty(name = "productId", value = "产品id")
    private Long productId;

    @ApiModelProperty(name = "productCode", value = "产品编号")
    private String productCode;

    @ApiModelProperty(name = "productName", value = "产品名称")
    private String productName;

    @ApiModelProperty(name = "format", value = "规格")
    private String format;

    @ApiModelProperty(name = "quantity", value = "数量")
    private Integer quantity;

    @ApiModelProperty(name = "inWeight", value = "重量")
    private Double inWeight;

    @ApiModelProperty(name = "inVolume", value = "体积")
    private Double inVolume;

    @ApiModelProperty(name = "tray", value = "托盘")
    private Integer tray;

    @ApiModelProperty(name = "batch", value = "批次")
    private Date batch;

    @ApiModelProperty(name = "expirationTime", value = "过期时间")
    private Date expirationTime;

    @ApiModelProperty(name = "unit", value = "单位")
    private String unit;

    @ApiModelProperty(name = "unitPrice", value = "单价")
    private Double unitPrice;

    @ApiModelProperty(name = "selectSum", value = "累计入库数量")
    private Integer selectSum;

    @ApiModelProperty(name = "actualSelectQuantity", value = "实际入库数量")
    private Integer actualSelectQuantity;

    @ApiModelProperty(name = "residueQuantity", value = "剩余数量")
    private Integer residueQuantity;

    @ApiModelProperty(name = "residueWeight", value = "剩余重量")
    private Double residueWeight;

    @ApiModelProperty(name = "residueVolume", value = "剩余体积")
    private Double residueVolume;

    @ApiModelProperty(name = "residueTray", value = "剩余托盘")
    private Integer residueTray;

    @ApiModelProperty(name = "salesReturnQuantity", value = "退货数量")
    private Integer salesReturnQuantity;

    @ApiModelProperty(name = "actualQuantityReturned", value = "实际退货数量")
    private Integer actualQuantityReturned;

    @ApiModelProperty(name = "orderStatus", value = "订单状态 1 创建订单 2 订单确认 3 订单取消 4 部分入库 5 全部入库")
    private Integer orderStatus;

    @ApiModelProperty(name = "preFinishTime", value = "预完成时间")
    private Date preFinishTime;

    @ApiModelProperty(name = "finishTime", value = "完成时间")
    private Date finishTime;

    @ApiModelProperty(name = "createBy", value = "创建人")
    private Long createBy;

    @ApiModelProperty(name = "createTime", value = "创建日期")
    private Date createTime;

    @ApiModelProperty(name = "modifyBy", value = "最后修改人")
    private Long modifyBy;

    @ApiModelProperty(name = "modifyTime", value = "最后修改时间")
    private Date modifyTime;

    @ApiModelProperty(name = "rdStatus", value = "数据状态 0删除 1正常")
    private Integer rdStatus;

    @ApiModelProperty(name = "orderStatusName", value = "订单状态名称")
    private String orderStatusName;

    @ApiModelProperty(name = "salesReturnStatusName", value = "退货状态名称")
    private String salesReturnStatusName;

    @ApiModelProperty(name = "singleWeight", value = "单个重量")
    private Double singleWeight;

    @ApiModelProperty(name = "singleVolume", value = "单个体积")
    private Double singleVolume;

    @ApiModelProperty(name = "mainSonFlag", value = "主表和子表的标志 1 主表 2 子表")
    private Integer mainSonFlag;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getApplyId() {
        return applyId;
    }

    public void setApplyId(Long applyId) {
        this.applyId = applyId;
    }

    public Integer getWarehousingOrder() {
        return warehousingOrder;
    }

    public void setWarehousingOrder(Integer warehousingOrder) {
        this.warehousingOrder = warehousingOrder;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Double getInWeight() {
        return inWeight;
    }

    public void setInWeight(Double inWeight) {
        this.inWeight = inWeight;
    }

    public Double getInVolume() {
        return inVolume;
    }

    public void setInVolume(Double inVolume) {
        this.inVolume = inVolume;
    }

    public Integer getTray() {
        return tray;
    }

    public void setTray(Integer tray) {
        this.tray = tray;
    }

    public Date getBatch() {
        return batch;
    }

    public void setBatch(Date batch) {
        this.batch = batch;
    }

    public Date getExpirationTime() {
        return expirationTime;
    }

    public void setExpirationTime(Date expirationTime) {
        this.expirationTime = expirationTime;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Double getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(Double unitPrice) {
        this.unitPrice = unitPrice;
    }

    public Integer getSelectSum() {
        return selectSum;
    }

    public void setSelectSum(Integer selectSum) {
        this.selectSum = selectSum;
    }

    public Integer getActualSelectQuantity() {
        return actualSelectQuantity;
    }

    public void setActualSelectQuantity(Integer actualSelectQuantity) {
        this.actualSelectQuantity = actualSelectQuantity;
    }

    public Integer getResidueQuantity() {
        return residueQuantity;
    }

    public void setResidueQuantity(Integer residueQuantity) {
        this.residueQuantity = residueQuantity;
    }

    public Double getResidueWeight() {
        return residueWeight;
    }

    public void setResidueWeight(Double residueWeight) {
        this.residueWeight = residueWeight;
    }

    public Double getResidueVolume() {
        return residueVolume;
    }

    public void setResidueVolume(Double residueVolume) {
        this.residueVolume = residueVolume;
    }

    public Integer getResidueTray() {
        return residueTray;
    }

    public void setResidueTray(Integer residueTray) {
        this.residueTray = residueTray;
    }

    public Integer getSalesReturnQuantity() {
        return salesReturnQuantity;
    }

    public void setSalesReturnQuantity(Integer salesReturnQuantity) {
        this.salesReturnQuantity = salesReturnQuantity;
    }

    public Integer getActualQuantityReturned() {
        return actualQuantityReturned;
    }

    public void setActualQuantityReturned(Integer actualQuantityReturned) {
        this.actualQuantityReturned = actualQuantityReturned;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Date getPreFinishTime() {
        return preFinishTime;
    }

    public void setPreFinishTime(Date preFinishTime) {
        this.preFinishTime = preFinishTime;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(Long modifyBy) {
        this.modifyBy = modifyBy;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getRdStatus() {
        return rdStatus;
    }

    public void setRdStatus(Integer rdStatus) {
        this.rdStatus = rdStatus;
    }

    public String getOrderStatusName() {
        return orderStatusName;
    }

    public void setOrderStatusName(String orderStatusName) {
        this.orderStatusName = orderStatusName;
    }

    public String getSalesReturnStatusName() {
        return salesReturnStatusName;
    }

    public void setSalesReturnStatusName(String salesReturnStatusName) {
        this.salesReturnStatusName = salesReturnStatusName;
    }

    public Double getSingleWeight() {
        return singleWeight;
    }

    public void setSingleWeight(Double singleWeight) {
        this.singleWeight = singleWeight;
    }

    public Double getSingleVolume() {
        return singleVolume;
    }

    public void setSingleVolume(Double singleVolume) {
        this.singleVolume = singleVolume;
    }

    public Integer getMainSonFlag() {
        return mainSonFlag;
    }

    public void setMainSonFlag(Integer mainSonFlag) {
        this.mainSonFlag = mainSonFlag;
    }
}
